package com.cochain.dynamicdatasource.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cochain.dynamicdatasource.entity.po.DataSource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DataSourceMapper extends BaseMapper<DataSource> {
 
    @Select("select * from databasesource")
    List<DataSource> get();
 
}